<%@ Page Language="C#" MasterPageFile="~/miniweb/MasterPage.master" AutoEventWireup="true"
    CodeFile="Test.aspx.cs" Inherits="miniweb_Test" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

   

    <textarea name="johndoe" id="johndoe" cols="30" rows="5" style="width: 250px"></textarea>
    <div id="john-status">
    </div>

    <script type="text/javascript">



//Example 2:

fieldlimiter.setup({
	thefield: document.getElementById("johndoe"), //reference to form field
	maxlength: 30,
	statusids: ["john-status"], //id(s) of divs to output characters limit. If non, set to empty array [].
	onkeypress:function(maxlength, curlength){ //onkeypress event handler
		//define custom event actions here if desired
	}
})

    </script>

</asp:Content>
